<h1>New membership</h1>

<%= error_messages_for :membership %>

<% form_for(:membership, :url => memberships_path) do |f| %>
  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', memberships_path %>